
if (isServer) then [{uiSleep 5},{uiSleep 10}];//
if (!isNil "SS_FFIS_MORTARS") exitWith {systemChat "FFIS已经存在！"};//


//k1 编辑
SS_FFIS_USESMOKE = true; //false 禁用AI丢烟雾弹
SS_FFIS_USESMOKE_K = 50; //AI丢烟雾弹几率
SS_FFIS_BLEEDOUTS = true; //false 禁用持续流血
SS_FFIS_MORTARS = false; //false 禁用AI呼叫迫击炮/火炮的能力 *地图上必须有AI操作的迫击炮
SS_FFIS_MORTARSDIS = 50; //呼叫炮火的AI距离准炮击点至少要超过多少米才会进行炮击
SS_FFIS_MORTARSProbability = 950; //呼叫迫击炮概率设为0会100%对同一地点多次打击（很频繁），默认的条件判断(random 1000 > 950) *过于频繁反而不合理建议500以上
SS_FFIS_BULLETWIND = true;	//false 禁用子弹风偏. Disabled by default in v1.1 to prevent interference with other mods (i.e. TMR)
SS_FFIS_EVASIVEANIMATIONS = true; //false 禁用AI躲避动作
SS_FFIS_WAYPOINTS = false; //false 禁用FFIS的路点 ***

SS_FFIS_LMGSUPPRESSION = true;	//false 禁用机枪单位的强制全自动火力，true时下面SS_FFIS...AMMO才有效
SS_FFIS_LMGINFINITEAMMO = true;	//false 禁用机枪单位无限弹药 (无限弹药有助于使机枪单位对压制有用！).

SS_FFIS_FIREDEHDISABLE = false; //true 关闭开火事件
SS_FFIS_FIREDProbability = 20; //开火每颗子弹触发概率
SS_FFIS_HITProbability = 80; //击中时触发概率

//=======================================================================
SS_FFIS_USERCONFIGEXISTS = true; //请勿改动

//以上参数只在启动游戏时读取
//测试中发现AI和敌人被呼叫的炮一起炸死..加入一个距离限制参数

//*布尔值 true/false - 真/假 - 是/否


SS_FFIS_FNC = compile preprocessFile "zooloo75_FFIS\FFIS.sqf";//LineNumbers
//publicVariable "SS_FFIS_FNC";

//sleep 1;
//remoteExec ["SS_FFIS_FNC", 0, true];
[] spawn SS_FFIS_FNC;

waitUntil {!isNil "ss_FFIS_Ready"};
[] spawn {
	waitUntil {time > 0};
	systemChat "FFIS交火系统初始化中. v1.26 (k1升级版)";
};



